package com.frame.auth.mvc.dao.mapper;

import com.frame.auth.mvc.dao.pojo.CloudSysUserRole;
import com.frame.auth.mvc.dao.pojo.CloudSysUserRoleExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CloudSysUserRoleMapper {
    long countByExample(CloudSysUserRoleExample example);

    int deleteByExample(CloudSysUserRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CloudSysUserRole record);

    int insertSelective(CloudSysUserRole record);

    List<CloudSysUserRole> selectByExample(CloudSysUserRoleExample example);

    CloudSysUserRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CloudSysUserRole record, @Param("example") CloudSysUserRoleExample example);

    int updateByExample(@Param("record") CloudSysUserRole record, @Param("example") CloudSysUserRoleExample example);

    int updateByPrimaryKeySelective(CloudSysUserRole record);

    int updateByPrimaryKey(CloudSysUserRole record);
}